package org.diysearch.dao.filters;

import org.diysearch.interfaces.Constants;
import org.diysearch.models.BaseModel;
/**
 * Link filter - as all filters, are just ways to seed our queries with
 * other pieces of information we want along with our regular look up
 * variables. 
 * 
 * @author David Palmer
 *
 */
public class LinkFilter extends BaseModel {

	private int status;
	private String filter;
	private int categoryId;
	private int newCategoryId;
	private String tag;
	private int owner;
	private int oid = Constants.LINKS_OBJECT_ID;
	private int lid;
	private int rating;
	private int limit;
	
	public LinkFilter() {}
	
	public int getLimit() {
		return limit;
	}

	public int getNewCategoryId() {
		return newCategoryId;
	}

	public void setNewCategoryId(int newCategoryId) {
		this.newCategoryId = newCategoryId;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getRating() {
		return rating;
	}

	public void setRating(int rating) {
		this.rating = rating;
	}

	public int getLid() {
		return lid;
	}

	public void setLid(int lid) {
		this.lid = lid;
	}

	public void setOid(int oid) {
		this.oid = oid;
	}

	public int getOid() {
		return oid;
	}
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getFilter() {
		return filter;
	}

	public void setFilter(String filter) {
		this.filter = filter;
	}

	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public int getOwner() {
		return owner;
	}

	public void setOwner(int owner) {
		this.owner = owner;
	}

	@Override
	public String getAliasName() {
		// TODO Auto-generated method stub
		return "link-filter";
	}

}
